/**
 * created on 2019-02-21 by wxb
 */
(function () {
  'use strict';

  angular.module('BlurAdmin.pages.codeManage.flightCode', [])
    .config(routeConfig);

  /** @ngInject */
  function routeConfig($stateProvider, $urlRouterProvider) {
    $stateProvider
      .state('admin.codeManage.flightCode', {
        url: '/flightCode',
        template : '<div ui-view></div>',
        title: '机票激活码',
        sidebarMeta: {
          order: 2,
        },
      })
      .state('admin.codeManage.flightCode.codeList', {
      url: '/codeList',
      templateUrl: 'app/pages/codeManage/flightCode/codeList/codeList.html',
      controller: 'FlightCodeListPageCtrl',
      title: '机票激活码',
      parentTitle: '机票激活码',
      resolve: {
      }
      })
    ;
    $urlRouterProvider.when('/codeManage/flightCode','/codeManage/flightCode/codeList');
  }

})();
